<!DOCTYPE html>
<html>


<!-- Mirrored from www.zi-han.net/theme/hplus/ by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:16:41 GMT -->

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <title>经销商后台管理系统</title>

    <meta name="keywords" content="">
    <meta name="description" content="">

    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->

    <link rel="shortcut icon" href="{{asset('dealer/img/xbblogo.ico')}}">
    <link href="{{asset('dealer/css/bootstrap.min.css')}}" rel="stylesheet">
    <link href="{{asset('dealer/css/font-awesome.min.css')}}" rel="stylesheet">
    <link href="{{asset('dealer/css/animate.min.css')}}" rel="stylesheet">
    <link href="{{asset('dealer/css/style.min.css?v=4.1.0')}}" rel="stylesheet">
</head>

<body class="fixed-sidebar full-height-layout gray-bg skin-1" style="overflow:hidden">
<div id="wrapper">
    <!--左侧导航开始-->
    @section('leftmenu')
         <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="nav-close">
            <i class="fa fa-times-circle"></i>
        </div>
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element" style="text-align: center">
                            <span>
                                <img alt="image" style="width: 79px;height: 101px;" class="img-circle" src="{{asset('dealer/img/avartar.png')}}" />
                            </span>
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                                    <span class="text-muted text-xs block" style="margin-top: 7px;letter-spacing: 1px">
                                        <strong>经销商管理后台</strong>
                                    </span>
                                </span>
                        </a>
                    </div>
                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-home"></i>
                        <span class="nav-label">主页</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" href="index_v1.html" data-index="0">数据统计</a>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="#">
                        <i class="fa fa fa-bar-chart-o fa-columns"></i>
                        <span class="nav-label">推荐用户</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" href="{{asset('B_list')}}">B端用户管理</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="{{asset('C_list')}}">C端用户管理</a>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="#">
                        <i class="fa fa fa-bar-chart-o"></i>
                        <span class="nav-label">数据管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" href="{{asset('B_deal')}}">B端用户交易记录</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="{{asset('C_deal')}}">C端用户交易记录</a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
    </nav>
    @show
    <!--左侧导航结束-->
    <!--右侧部分开始-->

    <div id="page-wrapper" class="gray-bg dashbard-1">
        <!--
         <div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                <ul class="nav navbar-top-links navbar-right">
                    <li class="hidden-xs">
                        <a href="#" target="_blank" style="color:#1890ff">
                            <i class="glyphicon glyphicon-user"></i>用户名称？logo</a>
                    </li>
                </ul>
            </nav>
        </div>
        -->
        @section('header')
            <div class="row content-tabs">
                <button class="roll-nav roll-left J_tabLeft">
                    <i class="fa fa-backward"></i>
                </button>
                <nav class="page-tabs J_menuTabs">
                    <div class="page-tabs-content">
                        <a href="javascript:;" class="active J_menuTab" data-id="index_v1.html">首页</a>
                    </div>
                </nav>
                <div class="btn-group roll-nav roll-right" style="min-width: 140px;">
                    <i class="glyphicon glyphicon-user"></i>
                    <a href="#">{{Session::get('userName')}}({{Session::get('rank')}})</a>
                </div>
                <a href="  " id="logout" class="roll-nav roll-right J_tabExit">
                    <i class="fa fa fa-sign-out"></i> 退出
                </a>
            </div>
        @show

    <!-- 右侧内容区域 -->
        <div class="row J_mainContent" id="content-main">


            <!-- 自定义内容区域 -->
            @yield('content')
        </div>

        @section('footer')
            <div class="footer">
                <div class="pull-right">&copy; 深圳证方形科技有限公司
                    {{--<a href="http://www.baidu.com/" target="_blank">www.baidu.com</a>--}}
                </div>
            </div>
        @show

    </div>

<!--右侧部分结束-->
</div>
<script type="text/javascript" src="{{asset('dealer/js/jquery.min.js')}}"></script>
<script type="text/javascript" src="{{asset('dealer/js/bootstrap.min.js')}}"></script>
<script type="text/javascript" src="{{asset('dealer/js/plugins/metisMenu/jquery.metisMenu.js')}}"></script>
<script type="text/javascript" src="{{asset('dealer/js/plugins/slimscroll/jquery.slimscroll.min.js')}}"></script>
<script type="text/javascript" src="{{asset('dealer/js/plugins/layer/layer.min.js')}}"></script>
<script type="text/javascript" src="{{asset('dealer/js/hplus.min.js?v=4.1.0')}}"></script>
<script type="text/javascript" src="{{asset('dealer/js/contabs.min.js')}}"></script>
<script type="text/javascript" src="{{asset('dealer/js/plugins/pace/pace.min.js')}}"></script>

@section('javascript')


@show
</body>


<!-- Mirrored from www.zi-han.net/theme/hplus/ by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:17:11 GMT -->

</html>
<script type="text/javascript">
    $(document).ready(function () {
        $('#logout').on('click', function () {
            // alert(3)
            $.ajax({
                method: "POST",
                url: "logOut",
                data: { '_token':'{{csrf_token()}}'},
                async: false,
                success:function (eval) {
                    if ( eval == 10 ) {
                        // var t = setInterval(function () {
                        //     // layer.open({content: "退出成功", time: 2});
                        //
                        //     window.location.href="www.baidu.com";
                        //     clearInterval(t);
                        // }, 2000);

                    } else {
                        // layer.open({content: "退出失败", time: 2});

                        return false;
                    }
                }
            });
        });
    });

</script>